package com.yanqingying.mapper;

import com.yanqingying.Dept;
import com.yanqingying.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface DeptMapper {
    /**
     * 查询部门列表
     * @return
     */
    List<Dept> list();
    void delete(Integer id);
    void add(Dept dept);
    Dept infor(Integer id);

    void upDate(Dept dept);
}
